LIXO = *.hex *.obj *.o *~ \#*\#

all: clean

das:
	make clean
	make -f das.makefile

main:
	make clean
	make -f main.makefile

clean:	clean_sub
	rm -f $(LIXO)

clean_sub:
	for dir in $$(ls -d */); do \
	cd $$dir && rm -f $(LIXO); \
	cd ../; \
	done

